//
//  MyHaolaDocViewController.m
//  haolaDoc
//
//  Created by WayneHao on 2017/5/16.
//  Copyright © 2017年 deyi. All rights reserved.
//

#import "MyHaolaDocViewController.h"

@interface MyHaolaDocViewController ()

@end

@implementation MyHaolaDocViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    _myhaolaScrollView.contentSize=CGSizeMake(0, self.view.frame.size.height);
    //点击头像跳转登录
    [_doctorAvatarImageView setUserInteractionEnabled:YES];
    UITapGestureRecognizer *headImageViewTab=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(onHeadImageViewClick:)];
    [_doctorAvatarImageView addGestureRecognizer:headImageViewTab];
}
-(void)onHeadImageViewClick:(id)sender {
//    if (![AppMonitor checkIsLogin]) {
//        [AppMonitor jumpToLoginWithUIController:self.navigationController];
//    }
    [self performSegueWithIdentifier:@"onLoginActionsegue" sender:sender];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
